/**
 * @(#)Category.java	8.0.1 2011-5-16
 *
 * Copyright 2004-2011 mymmsc.org (MyMMSC), Inc. All rights reserved.
 * MyMMSC PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package tech.client.base;

/**
 * 常量
 * 
 * @author WangFeng(mail:wangfeng@yeah.net, mobile:13911113230)
 * @version 8.0.1 2011-5-16
 * @since mymmsc-ETongMobileA 8.0.1
 */
public class Global {
	/** 手机终端与后台XML协议 */
	/** 接口超时 */
	public final static int EXP_TIMEOUT = 30;
	/** 成功 */
	public final static String EXP_SUCCESS = "000000";
	/** 成功 */
	public final static String EXP_DO_UPDATE = "000000";

	/** 自动更新开关 */
	public final static boolean APP_AUTOUPDATE = true;
	/** 日昌易通接口主站 */
	public final static String URI_HOST = "http://www.etong.so";

	/** 日昌易通版本检测地址 */
	public final static String URI_AUTOUPDATE = URI_HOST + "/xml/update.php";

	/** 软件保存路径 */
	public final static String APP_PATH = "/sdcard/";
	
	/** 本地Cache Key */
	public final static String APP_KEY = "UserInfo";
	
	public final static int APP_PROCESS_MAX = 9000;
		
	/********** 菜单处理 **********/
	
	public static final int MENU_GOBACK = 0; // no more R.ids
	public static final int MENU_PAGE_FRONT = 1;
	public static final int MENU_PAGE_NEXT = 2;
	public static final int MENU_CLOSE = 3;
	
	/********** 分页处理 **********/
	/** 每页尺寸 */
	public final static int APP_PAGE_SIZE = 10;
	
	/** 账单分页标识 */
	public final static String ACCOUNT = "account";
	/** 团餐分页标识 */
	public final static String MEAL_TEAM = "meal_team";
	public final static String MEAL_TEAM_LIST = "meal_team_list";
}
